package org.barbershop.krpc.util;

import java.io.*;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * RPC配置文件
 * 通信/TCP配置
 * 中心配置
 * 接口配置
 */
public final class KConfig {

    public List<String> getServerList() {
        return serverList;
    }

    public List<String> getClientList() {
        return clientList;
    }

    private List<String> serverList = new ArrayList<>();
    private List<String> clientList = new ArrayList<>();
    private Map<String,String> valueMap = new HashMap<>();

    public KConfig(String filePath) throws IOException {
        File file = new File(filePath);
        BufferedReader bufferedReader = new BufferedReader(new FileReader(file));


    }
}
